﻿using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;

namespace Oscilloscope.Screen
{
	// Token: 0x02000010 RID: 16
	public class DrawArea : UserControl
	{
		// Token: 0x0600008E RID: 142 RVA: 0x00005F24 File Offset: 0x00004124
		public DrawArea()
		{
			this.InitializeComponent();
		}

		// Token: 0x0600008F RID: 143 RVA: 0x00005F32 File Offset: 0x00004132
		public void Initialize()
		{
			base.SetStyle(ControlStyles.UserPaint | ControlStyles.AllPaintingInWmPaint | ControlStyles.OptimizedDoubleBuffer, true);
		}

		// Token: 0x06000090 RID: 144 RVA: 0x00005F40 File Offset: 0x00004140
		protected override void Dispose(bool disposing)
		{
			if (disposing && this.components != null)
			{
				this.components.Dispose();
			}
			base.Dispose(disposing);
		}

		// Token: 0x06000091 RID: 145 RVA: 0x00005F60 File Offset: 0x00004160
		private void InitializeComponent()
		{
            this.SuspendLayout();
            // 
            // DrawArea
            // 
            this.AllowDrop = true;
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.SystemColors.Control;
            this.Margin = new System.Windows.Forms.Padding(0);
            this.Name = "DrawArea";
            this.Size = new System.Drawing.Size(200, 200);
            this.ResumeLayout(false);

		}

		// Token: 0x0400003B RID: 59
		private IContainer components;
	}
}
